from getInput import *
from story import *

def menu(debug = False):
    if debug:
        print "Welcome to debug mode"
    selection = ""
    while selection != "exit":
		print " ---------Madlibs and Friends------------"
		print "| 1) The Angry Earl                      |"
		print "| 2) Christmas Eve with the Phantomhives |"
		print "| 3) Extreme Irony                       |"
		print "| Exit                                   |"
		print " ----------------------------------------"
		print "Please pick a story !!"
		
		selection = getMenuOption(debug)
		if selection == "1":
			print story1(debug)
		elif selection == "2":
			print story2(debug)
		elif selection == "3":
			print story3(debug)
		elif selection == "exit":
			exit()
menu()




